<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * @brief 将字符串中的<br/>转换造成换行符
 * @param in $text 带转换的字符串
 * @return 转换后的字符串
 */
function br2nl($text) {      
    return preg_replace('/<br\\s*?\/??>/i', '', $text);     
}
?>